package com.ghh.service;

import com.ghh.entity.PageResult;
import com.ghh.entity.QueryPageBean;
import com.ghh.pojo.Member;

import java.util.List;
import java.util.Map;

public interface MemberService {

    //添加会员
    void add(Member member);

    //根据手机号查询会员信息
    Member findByTelephone(String telephone);

    List<Integer> getMemberReport(List<String> months );

    Map<String, Object> getDayAndMemner();

    PageResult pageQuery(QueryPageBean queryPageBean);

    void deleteMember(int id);

    void updateMember(Member member);

    Member findById(int id);

    List<Member> findAll();
}
